<% htmlWebpackPlugin.files.js.filter(function (script) { -%>
<%   return script.entryName === htmlWebpackPlugin.options.data.entryName -%>
<% }).map(function (script) { -%>
<%   return script.path -%> 
<% }).forEach(function (path) { -%>
<script src="<%= path %>"></script>
<% }) -%>